differentiation of log x with base a